package top.zhuyougu.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author 猪油骨
 * @title EmailRegisterDTO
 * @description
 * @date 2022-12-26
 */
@Data
@ApiModel(description = "邮箱注册信息")
public class EmailRegisterDTO {
    /**
     *  邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    @ApiModelProperty(value = "邮箱账号",required=true)
    private String email;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required=true)
    private String password;

    /**
     * 昵称
     */
    @ApiModelProperty("昵称")
    private String nickname;


    /**
     * 验证码
     */
    @ApiModelProperty("验证码 暂无作用")
    private String code;

}
